package com.atguigu.scala.chapter_06_practice

object Scala_03 {
  def main(args: Array[String]): Unit = {

   def func(a:Int,b:Int,c:(Int,Int)=>Int):Int={
     return c(a,b)
   }
    println(func(10,20,(a,b)=>{a*2+b}))
  }

}
